﻿
using DG.Tweening;
using System;
using UnityEngine;

public abstract class IUIView:MonoBehaviour  
{
    public virtual void Show()
    {
        gameObject.SetActive(true);
    }
    public virtual void Hide()
    {
        gameObject.SetActive(false);
    }

    /// <summary>
    /// 初始化
    /// </summary>
    public virtual void Initinalize()
    {
       
    }
    /// <summary>
    /// 释放
    /// </summary>
    public virtual void Release()
    {
        UnityEngine.Object.Destroy(gameObject);
    }
}